﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Unis.Framework.ORM.Attributes;
using KingRoad.EPM.PersonnelLogEntity.Model;

namespace KingRoad.EPM.PersonnelLogDAL.BfUserService
{
    public class BfUserService : BaseService<BF_USER>, IBfUserService
    {
        /// <summary>
        /// 根据姓名查询用户列表信息
        /// </summary>
        /// <param name="userName">用户姓名</param>
        /// <returns>用户对象集合</returns>
        public  List<BF_USER> GetEntityListByName(string userName)
        {
            var str = String.Format(" 1=1 AND  NAME='{0}'", userName);
            return base.GetEntityList(str);
        }

    }
}
